home *** CD-ROM | disk | FTP | other *** search
/ Complete Internet Archive / Complete Internet Archive.iso / VRML / cp2b2x.exe / DATA.Z / buggy.wrl < prev    next >
Text File  |  1996-06-21  |  24KB  |  584 lines

  1. #VRML V2.0 utf8
  2. #
  3. # This file is conveted from VRML 1.0 to Moving Worlds.
  4. # Copyright(C) 1996 Sony Corporation.
  5.  
  6. DEF BUGGY_TRANSFORM Transform {
  7.   children [
  8.  
  9.     DEF TOUCH_SENSOR TouchSensor{}
  10.  
  11.     Transform {
  12.       children [
  13.         Group {
  14.           children [
  15.             Transform {
  16.               children [
  17.                 Transform {
  18.                   children [
  19.                     Shape {
  20.                       appearance Appearance {
  21.                         material Material {
  22.                           diffuseColor     0.8 0.57727 0.179763
  23.                           shininess        5
  24.                         }
  25.                       }
  26.                       geometry IndexedFaceSet {
  27.                         coord Coordinate3 {
  28.                           point [
  29.                             -1.02258 1.87877 0.742963,
  30.                             -1.04305 1.41096 2.3686,
  31.                             -1.04305 0.674776 1.08538,
  32.                             -1.03073 0.963025 2.43662,
  33.                             1.02258 1.87877 0.742963,
  34.                             1.04305 1.41096 2.3686,
  35.                             1.04305 0.674776 1.08538,
  36.                             1.03073 0.963025 2.43662,
  37.                             0.557821 1.29974 2.50206,
  38.                             1.03073 0.963025 2.43662,
  39.                             1.04305 1.41096 2.3686,
  40.                             0.557821 1.02976 2.43662,
  41.                             -0.557821 1.29974 2.50206,
  42.                             -1.03073 0.963025 2.43662,
  43.                             -1.04305 1.41096 2.3686,
  44.                             -0.557821 1.02976 2.43662,
  45.                             1.08514 1.6739 -2.30376,
  46.                             0.624552 1.67802 -2.52423,
  47.                             0.692859 2.02273 -2.21269,
  48.                             -0.692859 2.02273 -2.21269,
  49.                             -0.624552 1.67802 -2.52423,
  50.                             -1.08514 1.6739 -2.30376,
  51.                             -0.785625 0.664462 -1.96386,
  52.                             0.785625 0.664462 -1.96386,
  53.                             -1.02258 1.87877 0.742963,
  54.                             1.02258 1.87877 0.742963,
  55.                             1.04305 0.674776 1.08538,
  56.                             -1.04305 0.674776 1.08538,
  57.                             0.907205 1.84344 -1.04987,
  58.                             -0.907205 1.84344 -1.04987,
  59.                             1.04305 0.674835 -1.14195,
  60.                             -1.04305 0.674835 -1.14195,
  61.                             1.41145 0.874973 1.01865,
  62.                             1.4337 0.87503 -1.14194,
  63.                             -1.41145 0.874973 1.01865,
  64.                             -1.4337 0.87503 -1.14194,
  65.                             -1.5894 1.25534 -0.917321,
  66.                             1.5894 1.25534 -0.917321,
  67.                             -1.5894 1.2553 0.531469,
  68.                             1.5894 1.2553 0.531469,
  69.                           ]
  70.                         }
  71.                         coordIndex [
  72.                           0, 1, 2, -1,
  73.                           2, 1, 0, -1,
  74.                           2, 1, 3, -1,
  75.                           3, 1, 2, -1,
  76.                           4, 5, 6, -1,
  77.                           6, 5, 4, -1,
  78.                           6, 5, 7, -1,
  79.                           7, 5, 6, -1,
  80.                           8, 9, 10, -1,
  81.                           10, 9, 8, -1,
  82.                           11, 9, 8, -1,
  83.                           8, 9, 11, -1,
  84.                           12, 13, 14, -1,
  85.                           14, 13, 12, -1,
  86.                           15, 13, 12, -1,
  87.                           12, 13, 15, -1,
  88.                           16, 17, 18, -1,
  89.                           18, 17, 16, -1,
  90.                           19, 20, 21, -1,
  91.                           21, 20, 19, -1,
  92.                           21, 20, 22, -1,
  93.                           22, 20, 21, -1,
  94.                           23, 17, 16, -1,
  95.                           16, 17, 23, -1,
  96.                           24, 12, 14, -1,
  97.                           14, 12, 24, -1,
  98.                           25, 8, 10, -1,
  99.                           10, 8, 25, -1,
  100.                           9, 11, 26, -1,
  101.                           26, 11, 9, -1,
  102.                           13, 15, 27, -1,
  103.                           27, 15, 13, -1,
  104.                           28, 16, 18, -1,
  105.                           18, 16, 28, -1,
  106.                           19, 21, 29, -1,
  107.                           29, 21, 19, -1,
  108.                           23, 22, 17, -1,
  109.                           17, 22, 23, -1,
  110.                           17, 22, 20, -1,
  111.                           20, 22, 17, -1,
  112.                           17, 19, 18, -1,
  113.                           18, 19, 17, -1,
  114.                           20, 19, 17, -1,
  115.                           17, 19, 20, -1,
  116.                           25, 26, 8, -1,
  117.                           8, 26, 25, -1,
  118.                           8, 26, 11, -1,
  119.                           11, 26, 8, -1,
  120.                           24, 27, 12, -1,
  121.                           12, 27, 24, -1,
  122.                           12, 27, 15, -1,
  123.                           15, 27, 12, -1,
  124.                           12, 25, 24, -1,
  125.                           24, 25, 12, -1,
  126.                           8, 25, 12, -1,
  127.                           12, 25, 8, -1,
  128.                           11, 27, 26, -1,
  129.                           26, 27, 11, -1,
  130.                           15, 27, 11, -1,
  131.                           11, 27, 15, -1,
  132.                           8, 12, 11, -1,
  133.                           11, 12, 8, -1,
  134.                           11, 12, 15, -1,
  135.                           15, 12, 11, -1,
  136.                           23, 28, 30, -1,
  137.                           30, 28, 23, -1,
  138.                           16, 28, 23, -1,
  139.                           23, 28, 16, -1,
  140.                           31, 29, 22, -1,
  141.                           22, 29, 31, -1,
  142.                           22, 29, 21, -1,
  143.                           21, 29, 22, -1,
  144.                           26, 30, 32, -1,
  145.                           32, 30, 26, -1,
  146.                           32, 30, 33, -1,
  147.                           33, 30, 32, -1,
  148.                           34, 31, 27, -1,
  149.                           27, 31, 34, -1,
  150.                           35, 31, 34, -1,
  151.                           34, 31, 35, -1,
  152.                           18, 29, 28, -1,
  153.                           28, 29, 18, -1,
  154.                           19, 29, 18, -1,
  155.                           18, 29, 19, -1,
  156.                           26, 27, 30, -1,
  157.                           30, 27, 26, -1,
  158.                           30, 27, 31, -1,
  159.                           31, 27, 30, -1,
  160.                           31, 36, 29, -1,
  161.                           29, 36, 31, -1,
  162.                           35, 36, 31, -1,
  163.                           31, 36, 35, -1,
  164.                           28, 37, 30, -1,
  165.                           30, 37, 28, -1,
  166.                           30, 37, 33, -1,
  167.                           33, 37, 30, -1,
  168.                           35, 38, 36, -1,
  169.                           36, 38, 35, -1,
  170.                           34, 38, 35, -1,
  171.                           35, 38, 34, -1,
  172.                           37, 39, 33, -1,
  173.                           33, 39, 37, -1,
  174.                           33, 39, 32, -1,
  175.                           32, 39, 33, -1,
  176.                           38, 27, 24, -1,
  177.                           24, 27, 38, -1,
  178.                           34, 27, 38, -1,
  179.                           38, 27, 34, -1,
  180.                           25, 26, 39, -1,
  181.                           39, 26, 25, -1,
  182.                           39, 26, 32, -1,
  183.                           32, 26, 39, -1,
  184.                           30, 22, 23, -1,
  185.                           23, 22, 30, -1,
  186.                           31, 22, 30, -1,
  187.                           30, 22, 31, -1,
  188.                           25, 26, 24, -1,
  189.                           24, 26, 25, -1,
  190.                           24, 26, 27, -1,
  191.                           27, 26, 24, -1,
  192.                           31, 28, 30, -1,
  193.                           30, 28, 31, -1,
  194.                           31, 28, 29, -1,
  195.                           29, 28, 31, -1,
  196.                         ]
  197.                         normalPerVertex FALSE
  198.                         # ccw    FALSE
  199.                         # solid   FALSE
  200.                         convex TRUE
  201.                         creaseAngle 0.5
  202.                       }
  203.                     },
  204.                   ]
  205.                 }
  206.               ]
  207.             }
  208.           ]
  209.         },
  210.       ]
  211.     }
  212.     Transform {
  213.       children [
  214.         Group {
  215.           children [
  216.             Transform {
  217.               children [
  218.                 Transform {
  219.                   children [
  220.                     Shape {
  221.                       appearance Appearance {
  222.                         material Material {
  223.                           diffuseColor     0.352558 0.8 0.675468
  224.                           shininess        5
  225.                         }
  226.                       }
  227.                       geometry IndexedFaceSet {
  228.                         coord Coordinate3 {
  229.                           point [
  230.                             -1.02258 1.87877 0.742963,
  231.                             1.02258 1.87877 0.742963,
  232.                             -0.936751 2.63966 0.208267,
  233.                             0.936751 2.63966 0.208267,
  234.                           ]
  235.                         }
  236.                         coordIndex [
  237.                           0, 1, 2, -1,
  238.                           2, 1, 3, -1,
  239.                         ]
  240.                         normalPerVertex FALSE
  241.                         # ccw    FALSE
  242.                         # solid   FALSE
  243.                         convex TRUE
  244.                         creaseAngle 0.5
  245.                       }
  246.                     },
  247.                   ]
  248.                 }
  249.               ]
  250.             }
  251.           ]
  252.         },
  253.       ]
  254.     }
  255.     Transform {
  256.       children [
  257.         Group {
  258.           children [
  259.             Transform {
  260.               children [
  261.                 Transform {
  262.                   children [
  263.                     Shape {
  264.                       appearance Appearance {
  265.                         material Material {
  266.                           diffuseColor     0.372973 0.372973 0.372973
  267.                           specularColor    0.744898 0.744898 0.744898
  268.                           emissiveColor    0.163265 0.163265 0.163265
  269.                           shininess        5
  270.                         }
  271.                       }
  272.                       geometry IndexedFaceSet {
  273.                         coord Coordinate3 {
  274.                           point [
  275.                             -1.9831 0.666264 1.0921,
  276.                             -1.16587 0.20545 1.26712,
  277.                             -1.16587 0.670987 1.08609,
  278.                             1.15625 1.33358 -1.85518,
  279.                             1.9831 1.13255 -1.35178,
  280.                             1.9831 1.33794 -1.85186,
  281.                             1.15625 1.13727 -1.3316,
  282.                             1.7511 0.651727 -1.85188,
  283.                             1.9831 0.651835 -1.13881,
  284.                             1.9831 1.13258 -2.36266,
  285.                             1.9831 0.650791 -2.56152,
  286.                             1.16587 1.1373 -2.36449,
  287.                             -1.15625 1.33358 -1.85518,
  288.                             -1.9831 1.13255 -1.35178,
  289.                             -1.9831 1.33794 -1.85186,
  290.                             -1.15625 1.13727 -1.3316,
  291.                             -1.7511 0.651727 -1.85188,
  292.                             -1.9831 0.651835 -1.13881,
  293.                             -1.9831 1.13258 -2.36266,
  294.                             -1.9831 0.650791 -2.56152,
  295.                             -1.16587 1.1373 -2.36449,
  296.                             1.15625 0.656558 -1.16292,
  297.                             1.97347 0.195393 -1.35671,
  298.                             1.15625 0.190489 -1.33686,
  299.                             1.9831 -0.001426 -1.85244,
  300.                             -1.15625 0.656558 -1.16292,
  301.                             -1.97347 0.195393 -1.35671,
  302.                             -1.15625 0.190489 -1.33686,
  303.                             -1.9831 -0.001426 -1.85244,
  304.                             1.16587 0.655515 -2.56753,
  305.                             1.9831 0.19488 -2.3863,
  306.                             1.16587 0.189977 -2.3865,
  307.                             -1.16587 0.655515 -2.56753,
  308.                             -1.9831 0.19488 -2.3863,
  309.                             -1.16587 0.189977 -2.3865,
  310.                             1.16587 0.003296 -1.8577,
  311.                             -1.16587 0.003296 -1.8577,
  312.                             -1.9831 0.667307 2.51482,
  313.                             -1.7511 0.6672 1.80174,
  314.                             -1.9831 1.14802 2.30184,
  315.                             -1.9831 1.35341 1.80176,
  316.                             -1.97347 0.210866 2.29691,
  317.                             -1.9831 0.014046 1.80119,
  318.                             1.9831 0.667307 2.51482,
  319.                             1.7511 0.6672 1.80174,
  320.                             1.9831 1.14802 2.30184,
  321.                             1.9831 1.35341 1.80176,
  322.                             1.97347 0.210866 2.29691,
  323.                             1.9831 0.014046 1.80119,
  324.                             -1.9831 0.210353 1.26732,
  325.                             -1.9831 0.666264 1.0921,
  326.                             1.9831 0.210353 1.26732,
  327.                             1.9831 0.666264 1.0921,
  328.                             -1.9831 1.14805 1.29096,
  329.                             1.9831 1.14805 1.29096,
  330.                             -1.15625 1.15274 2.32202,
  331.                             -1.15625 1.34905 1.79844,
  332.                             -1.15625 0.672031 2.4907,
  333.                             1.15625 1.15274 2.32202,
  334.                             1.15625 1.34905 1.79844,
  335.                             1.15625 0.672031 2.4907,
  336.                             -1.15625 0.205962 2.31676,
  337.                             -1.16587 0.018769 1.79592,
  338.                             1.15625 0.205962 2.31676,
  339.                             1.16587 0.018769 1.79592,
  340.                             -1.16587 0.20545 1.26712,
  341.                             1.16587 0.20545 1.26712,
  342.                             1.16587 0.670987 1.08609,
  343.                             1.16587 1.15277 1.28913,
  344.                             -1.16587 0.670987 1.08609,
  345.                             -1.16587 1.15277 1.28913,
  346.                           ]
  347.                         }
  348.                         coordIndex [
  349.                           0, 1, 2, -1,
  350.                           2, 1, 0, -1,
  351.                           3, 4, 5, -1,
  352.                           5, 4, 3, -1,
  353.                           6, 4, 3, -1,
  354.                           3, 4, 6, -1,
  355.                           5, 4, 7, -1,
  356.                           7, 4, 5, -1,
  357.                           7, 4, 8, -1,
  358.                           8, 4, 7, -1,
  359.                           5, 7, 9, -1,
  360.                           9, 7, 5, -1,
  361.                           9, 7, 10, -1,
  362.                           10, 7, 9, -1,
  363.                           11, 5, 9, -1,
  364.                           9, 5, 11, -1,
  365.                           3, 5, 11, -1,
  366.                           11, 5, 3, -1,
  367.                           12, 13, 14, -1,
  368.                           14, 13, 12, -1,
  369.                           15, 13, 12, -1,
  370.                           12, 13, 15, -1,
  371.                           14, 13, 16, -1,
  372.                           16, 13, 14, -1,
  373.                           16, 13, 17, -1,
  374.                           17, 13, 16, -1,
  375.                           14, 16, 18, -1,
  376.                           18, 16, 14, -1,
  377.                           18, 16, 19, -1,
  378.                           19, 16, 18, -1,
  379.                           20, 14, 18, -1,
  380.                           18, 14, 20, -1,
  381.                           12, 14, 20, -1,
  382.                           20, 14, 12, -1,
  383.                           21, 22, 8, -1,
  384.                           8, 22, 21, -1,
  385.                           23, 22, 21, -1,
  386.                           21, 22, 23, -1,
  387.                           8, 22, 7, -1,
  388.                           7, 22, 8, -1,
  389.                           7, 22, 24, -1,
  390.                           24, 22, 7, -1,
  391.                           4, 21, 8, -1,
  392.                           8, 21, 4, -1,
  393.                           6, 21, 4, -1,
  394.                           4, 21, 6, -1,
  395.                           25, 26, 17, -1,
  396.                           17, 26, 25, -1,
  397.                           27, 26, 25, -1,
  398.                           25, 26, 27, -1,
  399.                           17, 26, 16, -1,
  400.                           16, 26, 17, -1,
  401.                           16, 26, 28, -1,
  402.                           28, 26, 16, -1,
  403.                           13, 25, 17, -1,
  404.                           17, 25, 13, -1,
  405.                           15, 25, 13, -1,
  406.                           13, 25, 15, -1,
  407.                           29, 9, 10, -1,
  408.                           10, 9, 29, -1,
  409.                           11, 9, 29, -1,
  410.                           29, 9, 11, -1,
  411.                           10, 7, 30, -1,
  412.                           30, 7, 10, -1,
  413.                           30, 7, 24, -1,
  414.                           24, 7, 30, -1,
  415.                           31, 10, 30, -1,
  416.                           30, 10, 31, -1,
  417.                           29, 10, 31, -1,
  418.                           31, 10, 29, -1,
  419.                           32, 18, 19, -1,
  420.                           19, 18, 32, -1,
  421.                           20, 18, 32, -1,
  422.                           32, 18, 20, -1,
  423.                           19, 16, 33, -1,
  424.                           33, 16, 19, -1,
  425.                           33, 16, 28, -1,
  426.                           28, 16, 33, -1,
  427.                           34, 19, 33, -1,
  428.                           33, 19, 34, -1,
  429.                           32, 19, 34, -1,
  430.                           34, 19, 32, -1,
  431.                           24, 22, 35, -1,
  432.                           35, 22, 24, -1,
  433.                           35, 22, 23, -1,
  434.                           23, 22, 35, -1,
  435.                           24, 35, 30, -1,
  436.                           30, 35, 24, -1,
  437.                           30, 35, 31, -1,
  438.                           31, 35, 30, -1,
  439.                           28, 26, 36, -1,
  440.                           36, 26, 28, -1,
  441.                           36, 26, 27, -1,
  442.                           27, 26, 36, -1,
  443.                           28, 36, 33, -1,
  444.                           33, 36, 28, -1,
  445.                           33, 36, 34, -1,
  446.                           34, 36, 33, -1,
  447.                           37, 38, 39, -1,
  448.                           39, 38, 37, -1,
  449.                           39, 38, 40, -1,
  450.                           40, 38, 39, -1,
  451.                           41, 38, 37, -1,
  452.                           37, 38, 41, -1,
  453.                           42, 38, 41, -1,
  454.                           41, 38, 42, -1,
  455.                           43, 44, 45, -1,
  456.                           45, 44, 43, -1,
  457.                           45, 44, 46, -1,
  458.                           46, 44, 45, -1,
  459.                           47, 44, 43, -1,
  460.                           43, 44, 47, -1,
  461.                           48, 44, 47, -1,
  462.                           47, 44, 48, -1,
  463.                           42, 49, 38, -1,
  464.                           38, 49, 42, -1,
  465.                           38, 49, 50, -1,
  466.                           50, 49, 38, -1,
  467.                           48, 51, 44, -1,
  468.                           44, 51, 48, -1,
  469.                           44, 51, 52, -1,
  470.                           52, 51, 44, -1,
  471.                           50, 53, 38, -1,
  472.                           38, 53, 50, -1,
  473.                           38, 53, 40, -1,
  474.                           40, 53, 38, -1,
  475.                           52, 54, 44, -1,
  476.                           44, 54, 52, -1,
  477.                           44, 54, 46, -1,
  478.                           46, 54, 44, -1,
  479.                           55, 39, 56, -1,
  480.                           56, 39, 55, -1,
  481.                           56, 39, 40, -1,
  482.                           40, 39, 56, -1,
  483.                           57, 39, 55, -1,
  484.                           55, 39, 57, -1,
  485.                           37, 39, 57, -1,
  486.                           57, 39, 37, -1,
  487.                           58, 45, 59, -1,
  488.                           59, 45, 58, -1,
  489.                           59, 45, 46, -1,
  490.                           46, 45, 59, -1,
  491.                           60, 45, 58, -1,
  492.                           58, 45, 60, -1,
  493.                           43, 45, 60, -1,
  494.                           60, 45, 43, -1,
  495.                           61, 62, 41, -1,
  496.                           41, 62, 61, -1,
  497.                           41, 62, 42, -1,
  498.                           42, 62, 41, -1,
  499.                           41, 57, 61, -1,
  500.                           61, 57, 41, -1,
  501.                           37, 57, 41, -1,
  502.                           41, 57, 37, -1,
  503.                           63, 64, 47, -1,
  504.                           47, 64, 63, -1,
  505.                           47, 64, 48, -1,
  506.                           48, 64, 47, -1,
  507.                           47, 60, 63, -1,
  508.                           63, 60, 47, -1,
  509.                           43, 60, 47, -1,
  510.                           47, 60, 43, -1,
  511.                           42, 62, 49, -1,
  512.                           49, 62, 42, -1,
  513.                           49, 62, 65, -1,
  514.                           65, 62, 49, -1,
  515.                           48, 64, 51, -1,
  516.                           51, 64, 48, -1,
  517.                           51, 64, 66, -1,
  518.                           66, 64, 51, -1,
  519.                           49, 65, 50, -1,
  520.                           50, 65, 49, -1,
  521.                           51, 66, 52, -1,
  522.                           52, 66, 51, -1,
  523.                           52, 66, 67, -1,
  524.                           67, 66, 52, -1,
  525.                           67, 54, 52, -1,
  526.                           52, 54, 67, -1,
  527.                           68, 54, 67, -1,
  528.                           67, 54, 68, -1,
  529.                           69, 53, 50, -1,
  530.                           50, 53, 69, -1,
  531.                           70, 53, 69, -1,
  532.                           69, 53, 70, -1,
  533.                           59, 46, 68, -1,
  534.                           68, 46, 59, -1,
  535.                           68, 46, 54, -1,
  536.                           54, 46, 68, -1,
  537.                           56, 40, 70, -1,
  538.                           70, 40, 56, -1,
  539.                           70, 40, 53, -1,
  540.                           53, 40, 70, -1,
  541.                         ]
  542.                         normalPerVertex FALSE
  543.                         # ccw    FALSE
  544.                         # solid   FALSE
  545.                         convex TRUE
  546.                         creaseAngle 0.5
  547.                       }
  548.                     },
  549.                   ]
  550.                 }
  551.               ]
  552.             }
  553.           ]
  554.         },
  555.       ]
  556.     }
  557.   ]
  558. }
  559.  
  560. DEF TIME_SENSOR TimeSensor{
  561.   loop TRUE
  562.       #discrete TRUE
  563.       cycleInterval 0.035
  564. }
  565.  
  566. DEF SCRIPT Script{
  567.       url "classes/buggy.class"
  568.       scriptType "javabc"
  569.  
  570.       eventOut SFRotation buggyRt
  571.       eventOut SFVec3f    buggyTr
  572.  
  573.       eventIn SFTime moveBuggy
  574.       eventIn SFBool getOnOff
  575. }
  576.  
  577.  
  578. ROUTE TOUCH_SENSOR.isActive TO SCRIPT.getOnOff
  579. ROUTE TIME_SENSOR.cycleTime TO SCRIPT.moveBuggy
  580.  
  581. ROUTE SCRIPT.buggyTr TO BUGGY_TRANSFORM.set_translation
  582. ROUTE SCRIPT.buggyRt TO BUGGY_TRANSFORM.set_rotation
  583.  
  584.